<?php

//This is the master controller that will be executed before every other controller can be used ideally for 
//user access control and other mechanisms
if(empty($_SESSION['user_id']) and $action!="login-attempt")
{
	$t=new Sou("default");
	$t->display("login");
	exit;
}
?>